Insert the css node before setting a parent widget on the column button,
so the gtk_widget_set_parent won't attempt to add the css node as child
of the parent widget css node.
column, position);
tree_view->priv->n_columns++;
- _gtk_tree_view_column_set_tree_view (column, tree_view);
-
gtk_tree_view_update_button_position (tree_view, column);
+ _gtk_tree_view_column_set_tree_view (column, tree_view);
+
if (gtk_widget_get_realized (GTK_WIDGET (tree_view)))
{
GList *list;